# coding=utf-8

import plantform

mac_newest = "13.0.1"
windows_newest = "11"
# MacOS System's check version function.
def MacOSCheck():
	if plantform.system() == "MacOS":
		if platform.version() == mac_newest:
			result = "你的mac os是最新的."
			return result
		else:
			result = "您的mac os不是最新的，请在https://appstore.apple.com.cn/apps/MacOS Verinta上更新"
			return result
	else:
		return False
			
def WindowsCheck():
	if plantform.system() == "Windows":
		if plantform.version() == windows_newest:
			result = "你的Windows是最新的."
			return result
		else:
			result = "您的windows不是最新的，请在设置>系统>windows更新中更新。"
			return result
	else:
		return False

s1 = MacOSCheck()
print(s1)
if not s1:
	print(WindowsCheck())
else:
	print("False.")